package com.zkthink.ceres.order.service;

import com.zkthink.base.service.SuperService;
import com.zkthink.ceres.order.entity.OrderProduct;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 业务接口
 * </p>
 *
 * @author JustArgo
 * @date 2020-05-10
 */
public interface OrderProductService extends SuperService<OrderProduct> {

  List<Map<String,Object>> countProductSale( Map<String,Object> param);

  /**
   * 查询订单下对应的商品数量(以sku维度区分)
   * @param orderCode
   * @return
   */
  Integer queryProductCount(String orderCode);

}
